﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.ComponentModel;

namespace ChooseGameGrade
{
    public class ChooseGameGradeModelOne : INotifyPropertyChanged
    {
        private string itemOneUri;
        /// <summary>
        /// Sample ViewModel property; this property is used in the view to display its value using a Binding.
        /// </summary>
        /// <returns></returns>
        public string ItemOneUri
        {
            get
            {
                return itemOneUri;
            }
            set
            {
                if (value != itemOneUri)
                {
                    itemOneUri = value;
                    NotifyPropertyChanged("ItemOneUri");
                }
            }
        }

        public event PropertyChangedEventHandler PropertyChanged;
        private void NotifyPropertyChanged(String propertyName)
        {
            PropertyChangedEventHandler handler = PropertyChanged;
            if (null != handler)
            {
                handler(this, new PropertyChangedEventArgs(propertyName));
            }
        }
    }

    public class ChooseGameGradeModelTwo : INotifyPropertyChanged
    {
        private string itemTwoUri;
        /// <summary>
        /// Sample ViewModel property; this property is used in the view to display its value using a Binding.
        /// </summary>
        /// <returns></returns>
        public string ItemTwoUri
        {
            get
            {
                return itemTwoUri;
            }
            set
            {
                if (value != itemTwoUri)
                {
                    itemTwoUri = value;
                    NotifyPropertyChanged("ItemTwoUri");
                }
            }
        }

        public event PropertyChangedEventHandler PropertyChanged;
        private void NotifyPropertyChanged(String propertyName)
        {
            PropertyChangedEventHandler handler = PropertyChanged;
            if (null != handler)
            {
                handler(this, new PropertyChangedEventArgs(propertyName));
            }
        }
    }
}
